package com.zhenhao.xsq.entity.login;


import com.zhenhao.xsq.entity.BaseEntity;

import java.util.List;

/**
 * Created by William on 2019/2/18.
 */
public class XiangmuBean extends BaseEntity {

    /**
     * error : null
     * data : [{"projectNumber":"xm00000009","projectName":"湖南一朵大楼"},{"projectNumber":"xm00000505","projectName":"巧克力空间"}]
     * rows : [{"projectNumber":"xm00000009","projectName":"湖南一朵大楼"},{"projectNumber":"xm00000505","projectName":"巧克力空间"}]
     * total : null
     * token : null
     */
    private Object total;
    private Object token;
    private List<DataBean> data;
    private List<RowsBean> rows;


    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public Object getToken() {
        return token;
    }

    public void setToken(Object token) {
        this.token = token;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class DataBean {
        /**
         * projectNumber : xm00000009
         * projectName : 湖南一朵大楼
         */

        private String projectNumber;
        private String projectName;

        public String getProjectNumber() {
            return projectNumber;
        }

        public void setProjectNumber(String projectNumber) {
            this.projectNumber = projectNumber;
        }

        public String getProjectName() {
            return projectName;
        }

        public void setProjectName(String projectName) {
            this.projectName = projectName;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "projectNumber='" + projectNumber + '\'' +
                    ", projectName='" + projectName + '\'' +
                    '}';
        }
    }

    public static class RowsBean {
        /**
         * projectNumber : xm00000009
         * projectName : 湖南一朵大楼
         */

        private String projectNumber;
        private String projectName;

        public String getProjectNumber() {
            return projectNumber;
        }

        public void setProjectNumber(String projectNumber) {
            this.projectNumber = projectNumber;
        }

        public String getProjectName() {
            return projectName;
        }

        public void setProjectName(String projectName) {
            this.projectName = projectName;
        }

        @Override
        public String toString() {
            return "RowsBean{" +
                    "projectNumber='" + projectNumber + '\'' +
                    ", projectName='" + projectName + '\'' +
                    '}';
        }
    }
}
